public class Test_Wizard {

// These four member variables maintain the state of the wizard. 
    
   Account account;

   // The next method return the vaule of the variable.
    
   public Account getAccount() {
      if(account == null) account = new Account();
      return account;
   }


   // The next three methods control navigation. 
    
   public PageReference step1() {
      return Page.test;
   }

   public PageReference step2() {
      return Page.testResults;
   }

   // This method cancels the wizard, and returns the user to the  
    
   // Opportunities tab 
    
    public PageReference cancel() {

            return Page.Test_select;
    }

}